const init = {
  leaderBoard: [],
  myRank: {}
}
export default (state = init, action) => {
  switch (action.type) {
    case 'LEADER_BOARD':
      return action.leaderBoard
    default:
      return state
  }
}
